param($installPath, $toolsPath, $package, $project)

# USBAccess.dll should by copied to output directory (if newer)
$usbaccess = $project.ProjectItems | where {$_.Name.ToUpper() -eq "USBACCESS.DLL"}
$copyToOutputProperty = $usbaccess.Properties | where { $_.Name -eq "CopyToOutputDirectory"}
$copyToOutputProperty.Value = 2 # Copy if newer
